package com.tarena.lbs.user.pojo.query;

import com.tarena.lbs.user.pojo.query.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class AdminQuery extends BasePageQuery implements Serializable {
    @Schema(description = "页码", example = "1")
    Integer pageNo = 1; // 默认第一页

    @Schema(description = "每页条数", example = "10")
    Integer pageSize = 10; // 默认每页10条

    @Schema(description  = "手机号")
    String accountPhone;

    @Schema(description  = "用户名")
    String nickname;

    @Schema(description = "商家ID")
    Integer businessId;
}